package com.sh.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.sh.dao.StudentDao;
import com.sh.entity.Student;

@RestController
public class LoginController {
	@Autowired
	private StudentDao studentDao;
	
	@RequestMapping("/index")
	public String toLogin() {
		return "forward:/static/login.html";
	}
	public String logins(Student student,Model model) {
		
		return "";
	}
}
